<?php
return array(
	'rules'=>array(
		array('title', 'required'),
		array('title','length','max'=>32),
	),
	
	'behaviors' => array(
		'autoTime' => array(
			'class' => 'lib.behaviors.auto.CCreateTime',
			'attribute' => 'create_time'
		),
	),
	
	'relations' => array(
		'shop' => array(CActiveRecord::BELONGS_TO, 'Shop', 'shop_id'),
	),
	
	'behaviors' => array(
		'fornt' => array(
			'class' => 'coms.behaviors.FrontBehavior',
			'attributes' => array(
				'desc' => 'introduction',
			),
		),
	),
	
	'_import' => array(
		array('*', 'models.ActiveRecord//*'),
	),
);